﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DomainModel.Entities;

namespace DomainModel.Abstract
{
    public interface IEventsRSVPRepository
    {
        IEnumerable<EventRSVP> GetAll();

        EventRSVP Get(int? id);
        EventRSVP GetByEventIDAndUserID(int eventID, int userID);

        void Save(EventRSVP item);
        void Merge(EventRSVP item);
        void Delete(int id);
        void DeleteByEventIDAndUserID(int eventID, int userID);
    }
}
